package com.yixun.lbx.mapper.farm;

import com.yixun.lbx.entity.YxProProductCheck;
import com.yixun.lbx.entity.YxProProductInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;

@Mapper
public interface ProductCheckMapper {
    int deleteByPrimaryKey(HashMap<String, Object> map);

    int insertSelective(HashMap<String, Object> map);

    YxProProductCheck selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(HashMap<String, Object> map);

    List<YxProProductCheck> getObjByArgs(YxProProductCheck proProductCheck);

    List<YxProProductCheck> getListByPage(HashMap<String, Object> map);

    Integer getCount(HashMap<String, Object> map);

    YxProProductInfo getProductInfo(String cpId);

    List<YxProProductCheck> getSearchListByPage(HashMap<String, String> map);
    
    YxProProductCheck getOneById(@Param("id") String id);
    
    void deleteProductCheckByCpId(HashMap<String, Object> map);
}